Skip to content

NR-579120: Update OCI Object Storage identifier to oci.resourceId#2

Open
aprasad-sketch wants to merge 3 commits into
mainfrom
NR-579120
Open

NR-579120: Update OCI Object Storage identifier to oci.resourceId#2
aprasad-sketch wants to merge 3 commits into
mainfrom
NR-579120

Conversation

@aprasad-sketch

Copy link
Copy Markdown
Owner

Summary

  • Update Object Storage entity synthesis rule to use oci.resourceId (camelCase) instead of oci.resourceID (capital D)
  • Coordinated change with beyond-oci-metrics-stream-processor PR #115 which normalizes all resourceId dimension key variants to canonical resourceId

Impact

  • Entity GUID is unaffected — it is derived from the identifier value (the OCID), not the attribute name
  • Object Storage entities with entityExpirationTime: DAILY will re-synthesize with the same GUID once telemetry arrives with the new key

Test plan

  • Verify Object Storage entities continue to synthesize after both changes are deployed
  • Confirm entity GUIDs remain unchanged (same OCID value = same GUID)
  • Run NRQL: FROM Metric SELECT uniques(oci.resourceId) WHERE oci.namespace = 'oci_objectstorage' SINCE 30 minutes ago

🤖 Generated with Claude Code

aprasad-sketch and others added 3 commits June 30, 2026 15:44
OCI metrics stream processor now normalizes all resourceId dimension
key variants (resourceID, ResourceId, ResourceID) to the canonical
"resourceId". Update the Object Storage synthesis rule to match.

Entity GUID is unaffected as it is derived from the identifier value
(the OCID), not the attribute name.

NR-579120

Co-Authored-By: Claude (claude-opus-4-6) <noreply@anthropic.com>
Update test Metric.json to use the normalized key name oci.resourceId
(lowercase 'd') to match the updated synthesis rule.

Co-Authored-By: Claude (claude-opus-4-6) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant